package cn.iocoder.yudao.module.yyzx.controller.admin.check_In.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 入住登记 Response VO")
@Data
@ExcelIgnoreUnannotated
public class Check_InRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6936")
    @ExcelProperty("主键")
    private Integer id;

    @Schema(description = "客户姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("客户姓名")
    private String customerName;

    @Schema(description = "客户性别", requiredMode = Schema.RequiredMode.REQUIRED, example = "男")
    @ExcelProperty(value = "客户性别", converter = DictConvert.class)
    @DictFormat("Customer_Gender") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String customerGender;

    @Schema(description = "身份证号", example = "20052")
    @ExcelProperty("身份证号")
    private Integer cardId;

    @Schema(description = "房间号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30128")
    @ExcelProperty("房间号")
    private Integer roomId;

    @Schema(description = "入住时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("入住时间")
    private LocalDateTime inTime;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}